package cn.edu.jlu.grid.vjm;

import java.io.Serializable;
import java.net.Socket;

public abstract class VJMMessage implements Serializable{
	public VJMMessage() {	
	}
	public abstract void onSend();
	public abstract void onReceive(Socket connection);
	public String toString() {
		return "VJMMessage: " + this.getClass().getSimpleName();
	}
}
